package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "商店轮播图", description = "商店用于展示的轮播图")
public class Banner
{
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "轮播图使用的图片地址", example = "http://47.96.160.116:9090/files/1723192853934-圆规介绍.png",required = true)
    private String img;
    @ApiModelProperty(value = "弃用", example ="0")
    private Integer uid;
    @ApiModelProperty(value = "也弃用", example = "不使用")
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
